import { FormSchema } from '@/components/Form';
import { BasicColumn } from '@/components/Table';
export const searchFormSchema: FormSchema = [
  {
    field: 'date',
    label: '时间',
    component: 'DatePicker',
    componentProps: {
      type: 'daterange',
      valueFormat: 'YYYY-MM-DD',
      format: 'YYYY-MM-DD',
    },
    colProps: {
      span: 6,
    },
  },
];

export const columns: BasicColumn = [
  {
    title: '填报期',
    dataIndex: 'taskName',
    width: 150,
  },
  {
    title: '应填报数',
    dataIndex: 'taskType',
    width: 120,
  },
  {
    title: '已填数',
    dataIndex: 'relatedForm',
    width: 120,
  },
  {
    title: '未填数',
    dataIndex: 'reportCount',
    width: 100,
  },
  {
    title: '状况',
    dataIndex: 'executePeriod',
    width: 120,
  },
  {
    title: '发表时间',
    dataIndex: 'startTime',
    width: 120,
  },
  {
    title: '结束时间',
    dataIndex: 'endTime',
    width: 120,
  },
];
